package com.tulele.vtool.mapper;

import com.tulele.vtool.model.combinedEntity.BBeginnerSetting;
import com.tulele.vtool.model.combinedEntity.BeginnerArticleInfo;
import com.tulele.vtool.model.combinedEntity.PlatformArticleType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "bPlatformBeginnerArticleTypeMapper")
public interface BPlatformBeginnerArticleTypeMapper {
    List<PlatformArticleType> getPlatformArticleType(String gzhCode);

    List<BeginnerArticleInfo> getPlatformArticleInfo(@Param("gzhCode") String gzhCode, @Param("articleTypeId") Integer articleTypeId, @Param("displayCount") Integer displayCount);

    BBeginnerSetting getBeginnerPageInfo(String gzhCode);

    void addBeginnerLookArticle(String gzhCode);
}
